package com.example.chaindemo.state.state;

import com.example.chaindemo.state.AbstractState;
import com.example.chaindemo.state.Context;
import com.example.chaindemo.state.StateEnum;

/**
 * @author PC3
 */
public class PaidState extends AbstractState {

    @Override
    public void feedBackEvent(Context context) {
        context.setState(new FeedBackState());
    }

    @Override
    public String getCurrentState() {
        return StateEnum.PAID.getValue();
    }
}